package com.bot.adms.dao;

import com.bot.adms.model.entity.ApplyContentSpScDetailPoster;

import java.util.List;

/**
 * 投放申请海报信息表持久层接口
 */
public interface IApplyContentSpScDetailPosterDao {
    /**
     * 添加投放申请海报信息
     *
     * @param applyContentSpScDetailPoster 投放申请海报信息，包含：海报文件路径，分辨率等等
     * @return Integer 添加成功的数量
     */
    public Integer insertApplyContentSpScDetailPoster(ApplyContentSpScDetailPoster applyContentSpScDetailPoster);

    /**
     * 修改投放申请海报信息
     *
     * @param applyContentSpScDetailPoster 投放申请海报信息，包含：海报文件路径，分辨率等等
     * @return Integer 修改成功的数量
     */
    public Integer updateApplyContentSpScDetailPoster(ApplyContentSpScDetailPoster applyContentSpScDetailPoster);


    /**
     * 删除投放申请海报信息
     *
     * @param id 投放申请海报信息id
     * @return Integer 删除成功的数量
     */
    public Integer deleteApplyContentSpScDetailPoster(Long id);

    /**
     * 查找（获取）投放申请海报信息
     *
     * @param id 投放申请海报信息id
     * @return ApplyContentSpScDetailPoster 投放申请海报信息，包含：海报文件路径，分辨率等等
     */
    public ApplyContentSpScDetailPoster getApplyContentSpScDetailPosterById(Long id);

    /**
     * 查询投放申请海报信息
     *
     * @param applyContentSpScDetailPoster 投放申请海报信息，包含：海报文件路径，分辨率等等
     * @return List<ApplyContentSpScDetailPoster> 投放申请海报信息信息集合，包含：海报文件路径，分辨率等等
     */
    public List<ApplyContentSpScDetailPoster> searchApplyContentSpScDetailPoster(ApplyContentSpScDetailPoster applyContentSpScDetailPoster);

}
